#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include"list.h"
using namespace std;
using namespace bit;


int main()
{
	list<int> l1;
	l1.push_back(1);
	l1.push_back(2);
	l1.push_back(3);
	l1.push_back(4);
	l1.push_back(5);

	list<int>::iterator it = l1.begin();
	while (it != l1.end())
	{
		cout << *it;
		it++;
	}

	return 0;
}